import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Axios from "axios";

import vant from "vant";
require("vant/lib/index.css");
Vue.use(vant);

import element from "element-ui";
require("element-ui/lib/theme-chalk/index.css");
Vue.use(element);

// 把api绑定到vue
// import api from "./net/api";
// Vue.prototype.$api = api;
Vue.prototype.$axios = Axios;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
